package com.ruoyi.domain;

import com.ruoyi.common.annotation.Excels;
import com.ruoyi.system.domain.ProCreateBuilding;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 计划日志对象 plan_to_log
 * 
 * @author ruoyi
 * @date 2020-06-28
 */
public class PlanToLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    public ProCreateBuilding getProCreateBuilding() {
        return proCreateBuilding;
    }

    public void setProCreateBuilding(ProCreateBuilding proCreateBuilding) {
        this.proCreateBuilding = proCreateBuilding;
    }

    @Excels({
            @Excel(name="项目名称",targetAttr = "pName", type = Excel.Type.EXPORT),
            @Excel(name="创建时间",targetAttr = "pTime" ,type = Excel.Type.EXPORT),
            @Excel(name="项目经理",targetAttr = "pFounder",type = Excel.Type.EXPORT)
    })
    private ProCreateBuilding proCreateBuilding;

    /** 资料id */
    private Long pId;

    /** 资料类型 */
    @Excel(name = "资料类型")
    private Long pType;

    /** 资料名称 */
    @Excel(name = "资料名称")
    private String pName;

    /** 上传资料 */
    @Excel(name = "上传资料")
    private String pData;

    /** 上传时间 */
    @Excel(name = "上传时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date pTime;

    /** 上传人 */
    @Excel(name = "上传人")
    private String pTheHeir;

    /** 备注 */
    @Excel(name = "备注")
    private String pRemark;

    /** 项目信息 */
   // @Excel(name = "项目信息")
    private Long pPro;

    public Long getpStatus() {
        return pStatus;
    }

    public void setpStatus(Long pStatus) {
        this.pStatus = pStatus;
    }

    public String getpOpinion() {
        return pOpinion;
    }

    public void setpOpinion(String pOpinion) {
        this.pOpinion = pOpinion;
    }

    /** 审批状态 */
   // @Excel(name = "项目信息")
    private Long pStatus;

    /** 审批意见 */
   // @Excel(name = "备注")
    private String pOpinion;

    public void setpId(Long pId) 
    {
        this.pId = pId;
    }

    public Long getpId() 
    {
        return pId;
    }
    public void setpType(Long pType) 
    {
        this.pType = pType;
    }

    public Long getpType() 
    {
        return pType;
    }
    public void setpName(String pName) 
    {
        this.pName = pName;
    }

    public String getpName() 
    {
        return pName;
    }
    public void setpData(String pData) 
    {
        this.pData = pData;
    }

    public String getpData() 
    {
        return pData;
    }
    public void setpTime(Date pTime) 
    {
        this.pTime = pTime;
    }

    public Date getpTime() 
    {
        return pTime;
    }
    public void setpTheHeir(String pTheHeir) 
    {
        this.pTheHeir = pTheHeir;
    }

    public String getpTheHeir() 
    {
        return pTheHeir;
    }
    public void setpRemark(String pRemark) 
    {
        this.pRemark = pRemark;
    }

    public String getpRemark() 
    {
        return pRemark;
    }
    public void setpPro(Long pPro) 
    {
        this.pPro = pPro;
    }

    public Long getpPro() 
    {
        return pPro;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pId", getpId())
            .append("pType", getpType())
            .append("pName", getpName())
            .append("pData", getpData())
            .append("pTime", getpTime())
            .append("pTheHeir", getpTheHeir())
            .append("pRemark", getpRemark())
            .append("pPro", getpPro())
            .append("pStatus", getpStatus())
            .append("pOpinion",getpOpinion())
                .append("proCreateBuilding",getProCreateBuilding())
            .toString();
    }
}
